<!--
- Author:   .
- Date:    2017/7/17 0017.
- File:    detail.
-->
<template>
  <div class="newdetail p20 bg_fff">
    <h4>{{noticeInfo.txt}}</h4>
    <div class="cont" v-html="noticeInfo.content" style="margin-bottom: 60px;">
    </div>
    <back-nav></back-nav>
    <footer-tab></footer-tab>
  </div>
</template>

<script>
  export default{
    data() {
      return {
        id: this.$route.params.id,
        noticeInfo: {}
      }
    },
    created() {
      this.getNoticeDetail(this.id)
    },
    methods: {
      getNoticeDetail(id) {
        this.$request.getNoticeDetail(id).then(data => {
          this.noticeInfo = data
        })
      }
    }
  }
</script>

<style>

</style>